package com.zh.work.entity.virtual;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("虚拟账户费率信息实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("virtual_rate")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VirtualRateEntity extends Model<VirtualRateEntity> {

  private static final long serialVersionUID = -6170396304389967187L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "类别代码", name = "rateCode")
  private String rateCode;
  @ApiModelProperty(value = "起始金额", name = "amtStart")
  private Double amtStart;
  @ApiModelProperty(value = "截止金额", name = "amtEnd")
  private Double amtEnd;
  @ApiModelProperty(value = "费率模式(1-按笔收费 2-按金额收费)", name = "rateMode")
  private int rateMode;
  @ApiModelProperty(value = "费率", name = "rate")
  private Float rate;
  @ApiModelProperty(value = "固定金额/封顶金额", name = "fee")
  private Float fee;

  private transient  Integer deleted;


}
